﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using Video.Application.Contract.Videos;
using Video.Application.Contract.Videos.Dtos;
using Video.Domain.VideoRepository;
using Video.Domain.Videos;

namespace Video.Application.AutuMapperProfile
{
    public class VideoAutuMapperProfile:Profile
    {
        public VideoAutuMapperProfile()
        {
            CreateMap<CreateVideoInput,Video.Domain.Videos.Video>();
            CreateMap<Domain.Videos.Video, GetVideoListDto>();
            CreateMap<ClassifyDto, Classify>().ReverseMap();
        }
    }
}
